<!doctype html>
<html lang="en">

    <link rel="icon" href="favicon.ico"/>
    <link rel="shortcut icon" href="favicon.ico"/>

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css"
        integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

        <link href="favicon.ico" type="image/x-icon" rel="icon"/>

    <title>Hello, world!</title>
</head>

<body>




    <div class="container">

        <h1>密码转换器</h1>



        <input type="text" class="form-control" placeholder="请输入源密码" aria-label="Username"
            aria-describedby="basic-addon1" id="input">



        <div class="input-group mb-3">

            <input type="text" class="form-control" placeholder="这里产生转换后的密码" aria-label="Username"
                aria-describedby="basic-addon1" id="output">
        </div>

        <button type="button" class="btn btn-primary btn-sm" onclick="do14()">生成14位密码</button>
        <button type="button" class="btn btn-secondary btn-sm" onclick="do6()">生成6位密码</button>


    </div>








    <div class="row">
        <div class="col-4"></div>

        <div class="col-4">


            <div class="input-group mb-3">


            </div>

            <div class="col-4"></div>
        </div>
    </div>







    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
        integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
        crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js"
        integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
        crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js"
        integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
        crossorigin="anonymous"></script>

    <script src="do.js"></script>
</body>

</html>